
using System;
using System.Drawing;

using MonoTouch.Foundation;
using MonoTouch.UIKit;
using bjeschool_csharp.Model;

namespace bjeschool
{
	public partial class HomeWorkCommitListCell : CommonCell<M_HomeWorkCommit>
	{
		public HomeWorkCommitListCell () //: base ("HomeWorkCommitListCell", null)
		{
			NSBundle.MainBundle.LoadNib("HomeWorkCommitListCell", this, null);
		}
		
		public override void SetData (M_HomeWorkCommit item)
		{
			
			HomeWorkRequest.Text = item.HomeWorkRequest;
			CommitStudent.Text = item.CommitStudent;
			CommitTime.Text = item.CommitTime.ToString();
			
		}
		
		[Outlet("CellView")]
		public override UITableViewCell CellView { get; set; }
		[Outlet("HomeWorkRequest")]
		public UILabel HomeWorkRequest { get; set; }
		[Outlet("CommitStudent")]
		public UILabel CommitStudent {get;set;}
		[Outlet("CommitTime")]
		public UILabel CommitTime {get;set;}
	}
}

